// src/api/index.ts
import axios, {  type AxiosInstance } from "axios";

// 创建 Axios 实例
const apiClient: AxiosInstance = axios.create({
  baseURL: "http://10.237.57.175:8081", // 替换成你的后端接口基础URL
  timeout: 5000,                      // 请求超时时间
  headers: {
    "Content-Type": "application/json",
  },
});



export default apiClient;